package com.leador.module.response.fence;

import com.leador.module.response.Result;

import java.util.List;

/**
 * 历史报警
 */
public class HisAlarmResult extends Result{
    private List<MonitoredPersonAlarms> monitored_person_alarms ;

    private int size;

    /**
     *设置被监控对象当前历史报警列表
     * @param monitored_person_alarms
     */
    public void setMonitored_person_alarms(List<MonitoredPersonAlarms> monitored_person_alarms){
        this.monitored_person_alarms = monitored_person_alarms;
    }

    /**
     * 返回被监控对象当前历史报警列表
     * @return
     */
    public List<MonitoredPersonAlarms> getMonitored_person_alarms(){
        return this.monitored_person_alarms;
    }

    /**
     * 设置结果条数
     * @param size
     */
    public void setSize(int size){
        this.size = size;
    }

    /**
     * 返回的结果条数
     * @return
     */
    public int getSize(){
        return this.size;
    }

    @Override
    public String toString() {
        return "AlarmsResult{" +
                ", monitored_person_alarms=" + monitored_person_alarms +
                ", size=" + size +
                '}';
    }
}
